package com.chenyanqing.mapper;

import com.chenyanqing.pojo.User;
import java.util.List;

public interface UserMapper {

    public void  insert(User user)throws Exception;

    //查询所有用户
    public List<User> findAll() throws Exception;


    //根据条件进行用户查询
    public User findByCondition(User user) throws Exception;



    public User findById(User user) throws Exception;



    public Integer updateUserName(User user);


    public Integer deleteByUser(User user);
}
